import Mock from 'mockjs'

Mock.setup({
    timeout: '200-600'
})

let token = '';
for (var i = 0; i < 34; i++) {
    token += Math.floor(Math.random() * 10);
}

let Random = Mock.Random
const email = Random.email()

Mock.mock('login','post',()=>{
    return {
        email
    }
})